Both AAAALLLLggggeeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm)))) and AAAALLLLsssseeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm)))) are meaningful if you are using
the two's complement sample format (the default). If you are using
floating point data (see AAAALLLLsssseeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm))))), calls to AAAALLLLsssseeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm))))
will not affect the behavior of AAAALLLLrrrreeeeaaaaddddssssaaaammmmppppssss((((3333ddddmmmm)))) or AAAALLLLwwwwrrrriiiitttteeeessssaaaammmmppppssss((((3333ddddmmmm))))
until you switch to two's complement sample format.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Upon successful completion AAAALLLLggggeeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm)))) returns a long whose value is
one of the symbolic constants described above for _s_a_m_p_l_e_s_i_z_e. Otherwise,
AAAALLLLggggeeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm)))) returns -1 and and sets an error number. This error
number can be retrieved with oooosssseeeerrrrrrrroooorrrr((((3333CCCC)))).
AAAALLLLsssseeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm)))) returns 0 to the calling process when successful.
Otherwise, it returns -1 and sets an error number as described above.